It's a snappy expression of anger or amazement, usually a reduction of "the fucking mother!" See whore and the incomplete and previously consulted 10060;the whore! .
Typical way to exclaim in some southern South American countries, such as Argentina and Chile. Some synonyms, words or similar expressions may be sheath! , what a horror! , what a scare!